package com.itoffer.pojo;

import java.io.Serializable;

public class Job implements Serializable {
    private int job_id;
    private int company_id;
    private String job_name;
    private int job_hiringnum;
    private String job_salary;
    private String job_area;
    private String job_desc;
    private String job_endtime;
    private int  job_state;

    public Job() {
    }

    public Job(int job_id, int company_id, String job_name, int job_hiringnum, String job_salary, String job_area, String job_desc, String job_endtime, int job_state) {
        this.job_id = job_id;
        this.company_id = company_id;
        this.job_name = job_name;
        this.job_hiringnum = job_hiringnum;
        this.job_salary = job_salary;
        this.job_area = job_area;
        this.job_desc = job_desc;
        this.job_endtime = job_endtime;
        this.job_state = job_state;
    }

    public int getJob_id() {
        return job_id;
    }

    public void setJob_id(int job_id) {
        this.job_id = job_id;
    }

    public int getCompany_id() {
        return company_id;
    }

    public void setCompany_id(int company_id) {
        this.company_id = company_id;
    }

    public String getJob_name() {
        return job_name;
    }

    public void setJob_name(String job_name) {
        this.job_name = job_name;
    }

    public int getJob_hiringnum() {
        return job_hiringnum;
    }

    public void setJob_hiringnum(int job_hiringnum) {
        this.job_hiringnum = job_hiringnum;
    }

    public String getJob_salary() {
        return job_salary;
    }

    public void setJob_salary(String job_salary) {
        this.job_salary = job_salary;
    }

    public String getJob_area() {
        return job_area;
    }

    public void setJob_area(String job_area) {
        this.job_area = job_area;
    }

    public String getJob_desc() {
        return job_desc;
    }

    public void setJob_desc(String job_desc) {
        this.job_desc = job_desc;
    }

    public String getJob_endtime() {
        return job_endtime;
    }

    public void setJob_endtime(String job_endtime) {
        this.job_endtime = job_endtime;
    }

    public int getJob_state() {
        return job_state;
    }

    public void setJob_state(int job_state) {
        this.job_state = job_state;
    }

    @Override
    public String toString() {
        return "Job{" +
                "job_id=" + job_id +
                ", company_id=" + company_id +
                ", job_name='" + job_name + '\'' +
                ", job_hiringnum=" + job_hiringnum +
                ", job_salary='" + job_salary + '\'' +
                ", job_area='" + job_area + '\'' +
                ", job_desc='" + job_desc + '\'' +
                ", job_endtime='" + job_endtime + '\'' +
                ", job_state=" + job_state +
                '}';
    }
}
